package com.zzx.bms.persistence;

import com.zzx.bms.domain.DepartmentType;
import com.zzx.bms.domain.DepartmentTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DepartmentTypeMapper {
    int countByExample(DepartmentTypeExample example);

    int deleteByExample(DepartmentTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentType record);

    int insertSelective(DepartmentType record);

    List<DepartmentType> selectByExample(DepartmentTypeExample example);

    DepartmentType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DepartmentType record, @Param("example") DepartmentTypeExample example);

    int updateByExample(@Param("record") DepartmentType record, @Param("example") DepartmentTypeExample example);

    int updateByPrimaryKeySelective(DepartmentType record);

    int updateByPrimaryKey(DepartmentType record);
}